package kr.saeildamil.androidstudy.ch13;

import kr.saeildamil.androiddforstudy.R;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.Window;

public class ProgressTitleTest extends Activity {
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS);
		setContentView(R.layout.ch13_progresstitletest);
	}

	public void mOnClick(View v){
		switch (v.getId()) {
		case R.id.ch13_progresstitletest_startbtn:
			setProgressBarIndeterminateVisibility(true);
			break;
		case R.id.ch13_progresstitletest_stopbtn:
			setProgressBarIndeterminateVisibility(false);
		default:
			break;
		}
	}
}
